package com._CPA_.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;



@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "user",description = "用户属性")
public class UserInfo {
        @ApiModelProperty(value = "主键ID")
        private String userId;
        @ApiModelProperty(value = "用户名")
        private String userName;
        @ApiModelProperty(value = "性别")
        private String gender;
        @ApiModelProperty(value = "电话")
        private String phone ;
        @ApiModelProperty(value = "密码")
        private String password;
        @ApiModelProperty(value = "vip等级 0 普通用户")
        private Short ifVip;
        @ApiModelProperty(value = "创建时间")
        private LocalDateTime createTime;
        @ApiModelProperty(value = "修改时间")
        private LocalDateTime editTime;
        @ApiModelProperty(value = "是否是管理员 0 不是 1 是")
        private Short ifAdmin;
        @ApiModelProperty(value = "昵称")
        private String nickName;
        @ApiModelProperty(value = "图像url")
        private String userIcon;

    }


